<?php
/**
 * Laravel-Vue-Admin
 * @Author:技术铺
 * @Date:2021/11/21
 */

namespace App\Filters;

/**
 * 广告位模型过滤器
 *
 * Class AdsSpaceFilter
 * @package App\Filters
 */
class AdsSpaceFilter extends BaseFilter
{

    /**
     * 类型
     * @param $type
     * @return mixed
     */
    protected function type($type)
    {
        if (filled($type)) return $this->builder->where('type', $type);
    }
}
